\hypertarget{structusb__setup__req__t}{
\section{usb\-\_\-setup\-\_\-req\-\_\-t \-Struct \-Reference}
\label{structusb__setup__req__t}\index{usb\-\_\-setup\-\_\-req\-\_\-t@{usb\-\_\-setup\-\_\-req\-\_\-t}}
}


\-A \-U\-S\-B \-Device \-S\-E\-T\-U\-P request.  




{\ttfamily \#include $<$usb\-\_\-protocol.\-h$>$}

\subsection*{\-Data \-Fields}
\begin{DoxyCompactItemize}
\item 
uint8\-\_\-t \hyperlink{structusb__setup__req__t_a4d0bc5061aba087bd50d83c5a120b833}{bm\-Request\-Type}
\item 
uint8\-\_\-t \hyperlink{structusb__setup__req__t_ac88656bbea11e32e0be42cd178eba600}{b\-Request}
\item 
le16\-\_\-t \hyperlink{structusb__setup__req__t_ab5516d82c87a1334e7ca6fa3bb418faa}{w\-Value}
\item 
le16\-\_\-t \hyperlink{structusb__setup__req__t_ae6ca45a24d06a2ccef7a06b71d1b1699}{w\-Index}
\item 
le16\-\_\-t \hyperlink{structusb__setup__req__t_a2e8a9bbc9ed2e64335345338a5b4ce1e}{w\-Length}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-A \-U\-S\-B \-Device \-S\-E\-T\-U\-P request. 

\-The data payload of \-S\-E\-T\-U\-P packets always follows this structure. 

\subsection{\-Field \-Documentation}
\hypertarget{structusb__setup__req__t_a4d0bc5061aba087bd50d83c5a120b833}{
\index{usb\-\_\-setup\-\_\-req\-\_\-t@{usb\-\_\-setup\-\_\-req\-\_\-t}!bm\-Request\-Type@{bm\-Request\-Type}}
\index{bm\-Request\-Type@{bm\-Request\-Type}!usb_setup_req_t@{usb\-\_\-setup\-\_\-req\-\_\-t}}
\subsubsection[{bm\-Request\-Type}]{\setlength{\rightskip}{0pt plus 5cm}uint8\-\_\-t {\bf usb\-\_\-setup\-\_\-req\-\_\-t\-::bm\-Request\-Type}}}
\label{structusb__setup__req__t_a4d0bc5061aba087bd50d83c5a120b833}
\hypertarget{structusb__setup__req__t_ac88656bbea11e32e0be42cd178eba600}{
\index{usb\-\_\-setup\-\_\-req\-\_\-t@{usb\-\_\-setup\-\_\-req\-\_\-t}!b\-Request@{b\-Request}}
\index{b\-Request@{b\-Request}!usb_setup_req_t@{usb\-\_\-setup\-\_\-req\-\_\-t}}
\subsubsection[{b\-Request}]{\setlength{\rightskip}{0pt plus 5cm}uint8\-\_\-t {\bf usb\-\_\-setup\-\_\-req\-\_\-t\-::b\-Request}}}
\label{structusb__setup__req__t_ac88656bbea11e32e0be42cd178eba600}
\hypertarget{structusb__setup__req__t_ae6ca45a24d06a2ccef7a06b71d1b1699}{
\index{usb\-\_\-setup\-\_\-req\-\_\-t@{usb\-\_\-setup\-\_\-req\-\_\-t}!w\-Index@{w\-Index}}
\index{w\-Index@{w\-Index}!usb_setup_req_t@{usb\-\_\-setup\-\_\-req\-\_\-t}}
\subsubsection[{w\-Index}]{\setlength{\rightskip}{0pt plus 5cm}le16\-\_\-t {\bf usb\-\_\-setup\-\_\-req\-\_\-t\-::w\-Index}}}
\label{structusb__setup__req__t_ae6ca45a24d06a2ccef7a06b71d1b1699}
\hypertarget{structusb__setup__req__t_a2e8a9bbc9ed2e64335345338a5b4ce1e}{
\index{usb\-\_\-setup\-\_\-req\-\_\-t@{usb\-\_\-setup\-\_\-req\-\_\-t}!w\-Length@{w\-Length}}
\index{w\-Length@{w\-Length}!usb_setup_req_t@{usb\-\_\-setup\-\_\-req\-\_\-t}}
\subsubsection[{w\-Length}]{\setlength{\rightskip}{0pt plus 5cm}le16\-\_\-t {\bf usb\-\_\-setup\-\_\-req\-\_\-t\-::w\-Length}}}
\label{structusb__setup__req__t_a2e8a9bbc9ed2e64335345338a5b4ce1e}
\hypertarget{structusb__setup__req__t_ab5516d82c87a1334e7ca6fa3bb418faa}{
\index{usb\-\_\-setup\-\_\-req\-\_\-t@{usb\-\_\-setup\-\_\-req\-\_\-t}!w\-Value@{w\-Value}}
\index{w\-Value@{w\-Value}!usb_setup_req_t@{usb\-\_\-setup\-\_\-req\-\_\-t}}
\subsubsection[{w\-Value}]{\setlength{\rightskip}{0pt plus 5cm}le16\-\_\-t {\bf usb\-\_\-setup\-\_\-req\-\_\-t\-::w\-Value}}}
\label{structusb__setup__req__t_ab5516d82c87a1334e7ca6fa3bb418faa}


\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{usb__protocol_8h}{usb\-\_\-protocol.\-h}\end{DoxyCompactItemize}
